package ltd.newbee.mall.entity;


public class PaymentCode {
	/** 主键 */
	private Integer id;
	private String name;
	private String url;

	public void setId(Integer id) {
		this.id = id;
	}
	
	public Integer getId() {
		return this.id;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	public String getName() {
		return this.name;
	}
	
	public void setUrl(String url) {
		this.url = url;
	}
	
	public String getUrl() {
		return this.url;
	}
	

	@Override
    public boolean equals(Object o) {
        if (this == o) { return true; }
        if (o == null || getClass() != o.getClass()) {return false;}
        PaymentCode that = (PaymentCode) o;
        return id.equals(that.id);
    }

    @Override
    public int hashCode() {
        return java.util.Objects.hash(id);
    }
    
    @Override
    public String toString() {
        return "PaymentCode{" +
				"id=" + id +
						",name='" + name + "'" + 
						",url='" + url + "'" + 
		                '}';
    }
	
}